Xbasic

SQL::ReferenceListResynch Method

Syntax

SQL::ReferenceList::Resynch()

Description

The SQL::ReferenceList::Resynch() method rebuilds the reference list to re-synchronize with the parse tree.

Example

dim conn as SQL::Connection
dim qry as SQL::Query
dim connstring as C
dim select_exp as C
connString = "{A5API='Access', FileName='c:\program files\a5v7\mdbfiles\alphasports.mdb'}"
select_exp = "select Lastname from customer where bill_state_region = 'ma'"
? conn.open(connstring)
= .T.
? qry.parse(select_exp)
= .T.
? qry.Execute(conn)
= .T.
? qry.ColumnReferences.Resynch()

See Also